var baseUrl="/weixin/"
//相关业务逻辑
$(function () {
	page.bind();
	page.getUserName();
});


var page = { //页面总变量
	bind: function () {
		$("#loginOut").bind("click", function () {
			ajaxUtil.ajaxRuquest(baseUrl+"thirdPartyView/loginOut",null,function(data){
				location.href =data;
			});
		});
	},
	getUserName: function () {
		$("#loginUserNameA").text(window.localStorage.getItem('customName'));
		$("#companyName").text(window.localStorage.getItem('customCompany'));
	}
}